package top.wshape1.rpc.spring.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.*;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2024-02-19
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Service
public @interface JJService {

    /**
     * 若值不是接口，则自动获取实现接口的第一个
     */
    Class<?> value() default Object.class;

}
